<template>
  <div class="nav-header">
      <slot name="icon-fanhui"></slot>
      {{title}}
  </div>
</template>

<script>
  export default {
      name:"nav-header",
      props:{
          title:{
              type:String,
              default:"首页"
          }
      },
      data(){
          return {

          }
      }
  }
</script>

<style lang="scss" rel="stylesheet/scss" scoped>
    @import "../../assets/styles/global";
    .nav-header {
        text-align: center;
        font-size: px2rem(16);
        line-height: px2rem(44);
        border-bottom: px2rem(1) solid #eee;
    }
</style>
